
	<?php
	//ajax
		include_once("../DAO/DataProvider.php");
		//include_once("../BUS/hangSXBUS.php");
		//include_once("../DTO/hangSXDTO.php");
		//include_once("../BUS/loaiSPBUS.php");
		//include_once("../DTO/loaiSPDTO.php");
		include_once("../BUS/cauHinhLoaiSPBUS.php");
		include_once("../DTO/cauHinhLoaiSPDTO.php");

		$idLoaiSP=$_GET["idLoaiSP"];
		
		$cauHinhLoaiSPBUS = new cauHinhLoaiSPBUS();
		$arrCauHinhLoaiSPDTO = $cauHinhLoaiSPBUS->load_CauHinhLoaiSP_idLoaiSP($idLoaiSP);
		?>
        	<table width="990" border="0" cellspacing="0" cellpadding="1" align="center" >          
        <?php
		for($i=0; $i<count($arrCauHinhLoaiSPDTO); $i++)
		{
			?>
            <tr>
            	 <td class="left" width="300">
                 <?php echo $arrCauHinhLoaiSPDTO[$i]->tenCauHinh;?>
                 </td>
                 <td width="690">
                 <?php echo '<input type="text" name="txt'.$i.'" id="txt'.$i.'">';?>
                 </td>
            </tr>
            <?php
		}
	?>    



